<?php /*a:2:{s:76:"D:\phpstudy_pro\WWW\kaoshi.com\web/../application/admin/view\user\index.html";i:1533518098;s:72:"D:\phpstudy_pro\WWW\kaoshi.com\web/../application/admin/view\layout.html";i:1533518098;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><?php echo $app_name; ?></title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/base.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/iconfont.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/style.css" />
<script type="text/javascript" src="__PUBLIC__/js/do.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/config.js"></script>
</head>
<body>
<div class="main">
<table class="table">
<colgroup>
    <col class="w40" />
    <col class="w120" />
    <col class="w160" />
    <col class="w160"  />
    <col class="w120" />
    <col />
    <col class="w140" />
</colgroup>
<thead>
    <tr>
        <th class="fn-tac">#</th>
        <th>用户名</th>
        <th>权限组</th>
        <th>最后登录时间</th>
        <th>最后登录IP</th>
        <th>备注</th>
        <th>操作</th>
    </tr>
</thead>
<tbody>
<?php if(is_array($lists) || $lists instanceof \think\Collection || $lists instanceof \think\Paginator): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
    <tr>
        <td class="fn-tac"><?php echo $rs['id']; ?></td>
        <td><?php if($rs['id'] != $admin_id): ?><i class="iconfont icon-lianjie"></i> <a href="<?php echo url('admin/user/edit',array('id'=>$rs['id'])); ?>"><?php echo $rs['username']; ?></a><?php else: ?><i class="iconfont icon-lianjie"></i> <?php echo $rs['username']; endif; ?></td>
        <td><?php echo $rs['group_id']; ?></td>
        <td><?php echo $rs['last_login_time']; ?></td>
        <td><?php echo $rs['last_login_ip']; ?></td>
        <td><?php echo $rs['about']; ?></td>
        <td>
            <?php if($rs['id'] != $admin_id): ?>
            <a class="a-button a-blue" href="<?php echo url('admin/user/edit',['id'=>$rs['id']]); ?>"><i class="iconfont icon-edit"></i> <?php echo app('lang')->get('lang_ui_edit'); ?></a>
            <a class="a-button isDel" url="<?php echo url('admin/user/delete',['id'=>$rs['id']]); ?>" href="javascript:;" data-rules="delete"><i class="iconfont icon-lajixiang"></i> <?php echo app('lang')->get('lang_ui_delete'); ?></a>
            <?php else: ?>
            <span class="a-button a-disabled"><i class="iconfont icon-edit"></i> <?php echo app('lang')->get('lang_ui_edit'); ?></span>
            <span class="a-button a-disabled"><i class="iconfont icon-lajixiang"></i> <?php echo app('lang')->get('lang_ui_delete'); ?></span>
            <?php endif; ?>
        </td>
    </tr>
<?php endforeach; endif; else: echo "" ;endif; ?>
</tbody>
</table>
<div class="page"><?php echo $page; ?></div>
<script type="text/javascript">
Do('base','layer',function(){
    $('.isDel').isDel();
})
</script>
</div>
<script type="text/javascript">
<?php if(isset($pathMaps)): ?>
    parent.pathMaps(<?php echo $pathMaps; ?>);
<?php endif; if(isset($editMenu)): ?>
    parent.editMenu(<?php echo $editMenu; ?>);
<?php endif; ?>
</script>
</body>
</html>